import request from '@/utils/request'
import api from "../index"
const urlRoot = 'http://192.168.1.221:10122'
// const urlRoot = 'http://10.0.50.101:10122'
// 获取路由
export function findAllProduct() {
    return request({
        url: urlRoot + api.productService +
            "/productSubscription/findAllProduct",
        method: 'get',
    })
}
export function getDepartmentUser(parameter) {
    return request({
        url: urlRoot + api.loginService +
            "/getDepartmentUser/" +
            parameter,
        method: 'get',
    })
}
export function findProductSubscriptionProductRelList(userId) {
    return request({
        url: urlRoot + api.productService +
            "/productSubscriptionProductRelHandler/findProductSubscriptionProductRelList",
        method: 'post',
        data: userId
    })
}